package com.woniuxy.action;

import com.opensymphony.xwork2.ActionSupport;
import com.woniuxy.dto.UserDTO;
import com.woniuxy.service.UserService;

public class LoginAction extends ActionSupport{
 private UserDTO dto;

public UserDTO getDto() {
	return dto;
}

public void setDto(UserDTO dto) {
	this.dto = dto;
}
public String execute(){
	UserService us=new UserService();
	us.checkLogin(dto);
	return ERROR;
}
}
